#ifndef _T_LOCK_H
#define _T_LOCK_H

typedef void* T_LOCK_HANDLE;

T_LOCK_HANDLE LockCreate(char *pchName);
int LockDestroy(T_LOCK_HANDLE hLock);
int LockEnter(T_LOCK_HANDLE hLock);
int LockLeave(T_LOCK_HANDLE hLock);

#endif
